<#include "../common/header.html">

<body class="skin-blue fixed sidebar-mini" style="height: auto; min-height: 100%;">
<div class="wrapper" style="height: auto; min-height: 100%;">
    <#assign page_tab="index">
    <#include "common/system_menu.html">

    <!--右侧内容 开始-->
    <div id="admin_right" class="content-wrapper">
        <script type="text/javascript" charset="UTF-8" src="/runtime/_systemjs/artTemplate/artTemplate.js"></script><script type="text/javascript" charset="UTF-8" src="/runtime/_systemjs/artTemplate/artTemplate-plugin.js"></script>
        <div class="breadcrumbs" id="breadcrumbs">
            <ul class="breadcrumb">
                <li>
                    <i class="home-icon fa fa-home"></i>
                    <a href="#">系统</a>
                </li>
                <li>
                    <a href="#">网站管理</a>
                </li>
                <li class="active">网站导航</li>
            </ul>
        </div>

        <div class="content">
            <form action='/system/guide_update' method='post'>
                <table class="table list-table" id='guide_box'>
                    <colgroup>
                        <col width="250px" />
                        <col width="350px" />
                        <col width="220px" />
                    </colgroup>
                    <thead>
                    <tr>
                        <th>名称</th>
                        <th>链接地址</th>
                        <th>操作</th>
                    </tr>
                    </thead>

                    <tbody></tbody>

                    <!--导航行模板-->
                    <script type='text/html' id='guideTrTemplate'>
                        <tr>
                            <td>
                                <input type='text' name='guide_name[]' class='form-control' value='<%=name%>' pattern='required' alt='请填写导航名' />
                            </td>
                            <td>
                                <input type='text' name='guide_link[]' class='form-control' value='<%=link%>' pattern='required' alt='请填写URL，如：http://www.aircheng.com' />
                            </td>
                            <td>
                                <a href="javascript:;"><i class='operator fa fa-arrow-up' alt='向上' title='向上'></i></a>
                                <a href="javascript:;"><i class='operator fa fa-arrow-down' alt='向下' title='向下'></i></a>
                                <a href="javascript:;"><i class='operator fa fa-close' alt='删除' title='删除'></i></a>
                            </td>
                        </tr>
                    </script>

                    <tfoot>
                    <tr>
                        <td colspan="3">
                            <button type="button" class="btn btn-primary" onclick="add_guide();">新加一个</button>
                            <button type="button" disabled class="btn btn-primary">禁止修改</button>
                        </td>
                    </tr>
                    </tfoot>
                </table>
            </form>
        </div>
    </div>
    <!--右侧内容 结束-->
</div>
</body>
</html>